package com.salts.service;

import com.salts.domain.dto.GetOrderInfoDto;
import com.salts.domain.dto.LogisticsDto;
import com.salts.domain.dto.OrderStateDto;
import com.salts.domain.dto.Result;
import com.salts.domain.po.OrderInfo;
import com.salts.domain.po.UserInfo;
import com.salts.domain.vo.OrderDetailVo;
import com.salts.domain.vo.OrderVo;
import com.salts.domain.vo.UserVo;

import java.lang.reflect.InvocationTargetException;
import java.util.List;


public interface MineService {
    UserVo getUserInfo(UserInfo user);//用户信息获取接口

    List<OrderStateDto> getOrderCount(UserInfo user) throws InvocationTargetException, IllegalAccessException;//用户订单列表接口

    List<OrderVo> getOrderInfo(GetOrderInfoDto param);//订单详情接口
    OrderDetailVo queryOrderDetail(OrderInfo orderInfo);

    //优惠券接口暂时不做

    //账户余额接口暂时不做

    String feedback();//意见反馈接口

    Result updateUserInfo(UserInfo user);//修改个人信息

    LogisticsDto queryLogistics(OrderInfo orderInfo) throws InvocationTargetException, IllegalAccessException;//物流信息

}
